package com.kt.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("province_sales")
public class ProvinceSales {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String provinceName;  // 省份名称
    private BigDecimal targetSales;  // 目标销售额
    private BigDecimal actualSales;  // 实际销售额
    private BigDecimal lastYearSales; // 去年同期销售额
    private Integer salesCount;    // 销售笔数
    private Integer productVariety; // 销售产品种类数
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableLogic
    private Integer isDeleted;
}
